<template>
    <div class="ProcessMatters">
        <div class="ProcessMatters-top">
            <processMatters/>
        </div>
        <div class="ProcessMatters-content">
            <div class="ProcessMatters-le">
                <processOverview/>
            </div>
            <div class="ProcessMatters-right">
                <div class="ProcessMatters-right-list"><myBpmInstList/></div>
                <div class="ProcessMatters-right-list"><myCharge/></div>
            </div>
        </div>
    </div>
</template>

<script>
import myBpmInstList from '../myBpmInstList/myBpmInstList.vue';
import myCharge from '../myCharge/myCharge.vue';
import processMatters from '../processMatters/processMatters.vue';
import processOverview from '../processOverview/processOverview.vue';

export default {
    name: "ProcessWorkbench",
    components: {
        myBpmInstList,
        myCharge,
        processMatters,
        processOverview
    },
    props: {},
    data() {
        return {}
    },
    created() {
        //去除session存储的appId和appKey
        sessionStorage.removeItem("CUR_APP_ID");
        sessionStorage.removeItem("CUR_APP_KEY");
    },
    methods: {},
    watch: {},
}
</script>

<style scoped>
.ProcessMatters{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #EDEFF2;
}
.ProcessMatters-top{
    background: white;
    margin: 10px;
    border-radius: 5px;
}
.ProcessMatters-content{
    flex: 1;
    display: flex;
}
.ProcessMatters-le{
    width: calc(70% - 20px);
    background: white;
    border-radius: 5px;
    max-height:820px;
    margin:0px 10px 10px 10px;
}
.ProcessMatters-right{
    display: flex;
    flex-direction: column;
    width: 30%;
}
.ProcessMatters-right-list{
    background: white;
    border-radius: 5px;
    margin:0px 10px 10px 0px;
    flex: 1;
}
</style>
